﻿@model Infinity.Models.Instructor_Salary

@{
    ViewBag.Title = "Create";
    Layout = "~/Areas/Managerial/Views/Shared/_AdminLayout.cshtml";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Instructor Salary</legend>
         <div class="editor-label">  
            <span class="input input--jiro">
                            <input class="input__field input__field--jiro" type="text" id="Salary_Id" name="Salary_Id" />
                            <label class="input__label input__label--jiro" for="input-10">
                                <span class="input__label-content input__label-content--jiro">Salary ID <span class="star"></span></span>
                            </label>

                        </span>
           @Html.ValidationMessageFor(model => model.Salary_Id,"*")
              </div>
                        <br>
        <div class="editor-label">
            <span class="input input--jiro">
                            <input class="input__field input__field--jiro" type="text" id="SalaryType" name="SalaryType" />
                            <label class="input__label input__label--jiro" for="input-10">
                                <span class="input__label-content input__label-content--jiro">Salary Type <span class="star"></span></span>
                            </label>

                        </span>
           @Html.ValidationMessageFor(model => model.SalaryType,"*")
              </div>
                        <br>
         <div class="editor-label">
            <span class="input input--jiro">
                            <input class="input__field input__field--jiro" type="text" id="SalaryValue" name="SalaryValue" />
                            <label class="input__label input__label--jiro" for="input-10">
                                <span class="input__label-content input__label-content--jiro">Salary Value <span class="star"></span></span>
                            </label>

                        </span>
           @Html.ValidationMessageFor(model => model.SalaryValue,"*")
              </div>
                        <br>
         <p>

            @Html.ValidationSummary(false,"Please fix the errors then submit ")
        </p>

       
    </fieldset>
    <div>
    <table>
        <tr>
            <td> &nbsp;&nbsp;<input type="submit" value="Create" class="send" /></td>
            <td>&nbsp;&nbsp;<a href="@Url.Action("Index", "PaymetMethod")" class="send">BacK to list</a></td>

        </tr>
    </table>
        

</div>
}



        @*<div class="editor-label">
            @Html.LabelFor(model => model.Salary_Id)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Salary_Id)
            @Html.ValidationMessageFor(model => model.Salary_Id,"*")
        </div>*@

        @*<div class="editor-label">
            @Html.LabelFor(model => model.SalaryType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SalaryType)
            @Html.ValidationMessageFor(model => model.SalaryType,"*")
        </div>*@

       @* <div class="editor-label">
            @Html.LabelFor(model => model.SalaryValue)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SalaryValue)
            @Html.ValidationMessageFor(model => model.SalaryValue,"*")
        </div>*@
        